package com.run.merchant.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.run.common.annotation.Excel;
import com.run.common.core.domain.BaseEntity;

/**
 * 代取类型信息对象 type_info
 * 
 * @author run
 * @date 2025-05-09
 */
public class TypeInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long typeId;

    /** 代取类型名称 */
    @Excel(name = "代取类型名称")
    private String typeName;

    /** 价格(元) */
    @Excel(name = "价格(元)")
    private BigDecimal price;

    public void setTypeId(Long typeId) 
    {
        this.typeId = typeId;
    }

    public Long getTypeId() 
    {
        return typeId;
    }

    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("typeId", getTypeId())
            .append("typeName", getTypeName())
            .append("price", getPrice())
            .toString();
    }
}
